/**
 *  android 返回按钮统一调度的方法，
 *  项目中有两个地方需要修改一个是这个地方，还有有个地方是 index.html 文件
 */
export default {
    androidBackBtn(){
        window.backPageByAndroid =function (obj) {
            let _show = window.location.hash;
            if(_show == '#/f-loan/f-credit' || _show == '#/f-loan/f-bank' || _show == '#/f-loan/f-speed' || _show == '#/f-news' || _show == '#/f-mine'){
                // mian
                window.location.href = window.location.origin + window.location.pathname + '#/f-main';
            }else{
                window.history.go(-1);
            }
        }
        console.log('load success =============');
    }
}


